import { createApp } from 'vue'
import './style.scss'
import App from './App.vue'
import { createPinia } from "pinia";
import router from './router/index';
import 'vant/lib/index.css';
// import 'vant/es/toast/style';
// import 'vant/es/dialog/style';
// import 'vant/es/image-preview/style';
const app = createApp(App)
app.use(createPinia())
app.use(router)
if (typeof window.global === 'undefined') {
    window.global = window;
}
app.mount('#app')